# -*- coding: utf-8 -*-
# @Time : 2021/4/9 17:56
# @Author : XXX
# @Site : 
# @File : zy2021-4-10.py
# @Software: PyCharm

#第一题
list_1 = [89,56,77,90,100,66]
print(max(list_1))
print(min(list_1))
print(sum(list_1)/len(list_1))

#第二题
list_name = ['a','b','c','d','e','f','g','h','i','z']
list_nj = [1,2,3,4,5,6,7,8,9,10]
print(dict(zip(list_name,list_nj)))

#第三题
dict_name = {'张三':3,'李四':4,'路人甲':21,'路人乙':2,'路人丙':45}
print(dict_name)

#第四题
list_2 = ["name","age",22,33,44,55]
print(len(list_2))
list_2[0] = 'mmm'
print(list_2)
list_2.insert(3,88)
print(list_2)
del list_2[1]
print(list_2)

#第五题
dict_1 = {"name":"man","money":188,"count":"ttt"}
dict_1["money"] = 100;print(dict_1)
dict_1["age"] = 18;print(dict_1)
print(dict_1.keys())
print(dict_1.values())
del dict_1["money"]
dict_1.clear()
print("www" in dict_1)

#第六题
dict_2 = {"name":"man","money":188,"count":"ttt"}
list_key = list(dict_2.keys())
list_valus = list(dict_2.values())
print(list_key)
print(list_valus)